package com.accp.utils;

public class PageUtil {

	//每页几条
	int per;
	//当前页
	int page;
	//页面索引
	int pageindex;
	
	
	
	public int getPer() {
		return per;
	}
	public void setPer(int per) {
		this.per = per;
	}
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public int getPageindex() {
		
		pageindex=(page=1)*per;
		
		return pageindex;
	}
	public void setPageindex(int pageindex) {
		this.pageindex = pageindex;
	}
	
	
	
}
